package qianting.news.admin.modules.user.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 用户
 *
 * @author tzx 512382840@qq.com
 * @since 1.0.0 2024-04-25
 */
@Data
@ApiModel(value = "用户")
public class UserDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	private Long id;

	@ApiModelProperty(value = "用户名")
	private String username;

	@ApiModelProperty(value = "手机号")
	private String mobile;

	@ApiModelProperty(value = "创建时间")
	private Date createDate;

	@ApiModelProperty(value = "头像")
	private String portrait;

	@ApiModelProperty(value = "是否会员")
	private boolean isVip;

	@ApiModelProperty(value = "会员到期时间")
	private Date vipExpire;

	@ApiModelProperty(value = "地址")
	private String address;

	@ApiModelProperty(value = "邮箱")
	private String email;

	@ApiModelProperty(value = "头像")
	private Date updateTime;


}